package com.lsp.microcommon.constants;

public enum RedisKeyEum {

    KEY_SIGN("sign:%S:%s", 31 * 24 * 3600L);
    private String key;
    private Long ttl;

    RedisKeyEum(String key, Long ttl) {
        this.key = key;
        this.ttl = ttl;
    }

    public String getKey() {
        return key;
    }

    public Long getTtl() {
        return ttl;
    }
}
